<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head th:include="inc/home::header">
</head>
<link type="text/css" th:href="@{/css/content.css}" rel="stylesheet" />
<body>

	<!--返回-->
	<div class="back"   onclick="loadPage('/permissions')">
		<img src="images/back.png" />
	</div>
	<div th:include="header :: header"></div>
	<div class="header-title">
		<span>权限设置</span>
	</div>
	<div class="spare-a">
		<div class="save-bg">
			<a href="#" class="spare-tj" onclick="Save()">保 存</a>
		</div>
		<div class="spare-add">
			<div class="table-head">
			
			 <form id="perForm">
		  
		     	<input type="text"  readonly="readonly"  style="display: none" name="id"  th:value="${id}"  /> 
		  		<input type="text"  readonly="readonly"  style="display: none" name="roleId"  th:value="${roleId}"  /> 
				<table width="100%" align="center" cellpadding="0" cellspacing="0"
					border="0">
					<thead>
						<tr>
							<td width="15%">系统</td>
							<td width="29%">模块</td>
							<td width="8%">添加</td>
							<td width="8%">编辑</td>
							<td width="8%">删除</td>
							<td width="8%">更新</td>
							<td width="8%">导入</td>
							<td width="8%">导出</td>
							<td width="8%">查看</td>
						</tr>
					</thead>
					<tbody>
						<tr>
							<td rowspan="5"
								style="border: 1px solid #e1e1e1; border-top: none"
								align="center">考试系统</td>
							<td>
								<div class="permission-l"  value="sys:testquestions:testquestions"     th:class="${systestquestionstestquestions=='active'}?'permission-l active':'permission-l'"></div>
								<label class="auth-lable">试题管理</label>
							</td>
							
							<td><div class="permission-l"   value="sys:testquestions:add"   th:class="${systestquestionsadd=='active'}?'permission-l active':'permission-l'"></div></td>
							<td><div class="permission-l"   value="sys:testquestions:edit"  th:class="${systestquestionsedit=='active'}?'permission-l active':'permission-l'"></div></td>
							<td><div class="permission-l"   value="sys:testquestions:del"  th:class="${systestquestionsdel=='active'}?'permission-l active':'permission-l'"></div></td>
							<td><!-- <div class="permission-l"   value="sys:testquestions:upd"  th:class="${systestquestionsupd=='active'}?'permission-l active':'permission-l'"></div> --></td>
							<td><!-- <div class="permission-l"   value="sys:testquestions:imp"  th:class="${systestquestionsimp=='active'}?'permission-l active':'permission-l'"></div> --></td>
							<td><!-- <div class="permission-l"   value="sys:testquestions:exp"  th:class="${systestquestionsexp=='active'}?'permission-l active':'permission-l'"></div> --></td>
							<td><div class="permission-l"   value="sys:testquestions:view"  th:class="${systestquestionsview=='active'}?'permission-l active':'permission-l'"></div></td>
							
							
							
							
						</tr>
						<tr>
							<td>
								<div class="permission-l"  value="sys:paper:paper"     th:class="${syspaperpaper=='active'}?'permission-l active':'permission-l'"></div>
								<label class="auth-lable" >试卷管理</label>
							</td>
							<td><div class="permission-l"   value="sys:paper:add" th:class="${syspaperadd=='active'}?'permission-l active':'permission-l'" ></div></td>
							<td><div class="permission-l"   value="sys:paper:edit" th:class="${syspaperedit=='active'}?'permission-l active':'permission-l'" ></div></td>
							<td><div class="permission-l"   value="sys:paper:del"  th:class="${syspaperdel=='active'}?'permission-l active':'permission-l'"></div></td>
							<td><!-- <div class="permission-l"   value="sys:paper:upd"  th:class="${syspaperupd=='active'}?'permission-l active':'permission-l'"></div> --></td>
							<td><div class="permission-l"   value="sys:paper:imp"  th:class="${syspaperimp=='active'}?'permission-l active':'permission-l'"></div></td>
							<td><div class="permission-l"   value="sys:paper:exp"  th:class="${syspaperexp=='active'}?'permission-l active':'permission-l'"></div></td>
							<td><div class="permission-l"   value="sys:paper:view" th:class="${syspaperview=='active'}?'permission-l active':'permission-l'" ></div></td>
						</tr>
						<tr>
							<td>
								<div class="permission-l" value="sys:results:results"   th:class="${sysresultsresults=='active'}?'permission-l active':'permission-l'"></div>
								<label class="auth-lable" >成绩报表</label>
							</td>
							<td><div class="permission-l"   value="sys:results:add"  th:class="${sysresultsadd=='active'}?'permission-l active':'permission-l'"> </div></td>
							<td><div class="permission-l"   value="sys:results:edit"  th:class="${sysresultsedit=='active'}?'permission-l active':'permission-l'"></div></td>
							<td><div class="permission-l"   value="sys:results:del"  th:class="${sysresultsdel=='active'}?'permission-l active':'permission-l'" ></div></td>
							<td><!-- <div class="permission-l"   value="sys:results:upd"  th:class="${sysresultsupd=='active'}?'permission-l active':'permission-l'"></div>--> </td>
							<td><!-- <div class="permission-l"   value="sys:results:imp"  th:class="${sysresultsimp=='active'}?'permission-l active':'permission-l'"> </div>--></td>
							<td><div class="permission-l"   value="sys:results:exp"  th:class="${sysresultsexp=='active'}?'permission-l active':'permission-l'"> </div></td>
							<td><div class="permission-l"   value="sys:results:view"  th:class="${sysresultsview=='active'}?'permission-l active':'permission-l'"></div></td>
						</tr>
						<tr>
							<td>
								<div class="permission-l" value="sys:taketest:taketest"  th:class="${systaketesttaketest=='active'}?'permission-l active':'permission-l'"></div>
								<label class="auth-lable" >参加考试</label>
							</td>
							<td></td>
							<td></td>
							<td></td>
							<td></td>
							<td></td>
							<td></td>
							<td><div class="permission-l"   value="sys:taketest:view"  th:class="${sysresultsview=='active'}?'permission-l active':'permission-l'"></div></td>
								</tr>
						<tr>
							<td>
								<div class="permission-l"  value="sys:mygrades:mygrades"   th:class="${sysmygradesmygrades=='active'}?'permission-l active':'permission-l'"></div>
								<label class="auth-lable">我的成绩</label>
							</td>
							<td></td>
							<td></td>
							<td></td>
							<td></td>
							<td></td>
							<td></td>
							<td><div class="permission-l"   value="sys:mygrades:view"  th:class="${sysresultsview=='active'}?'permission-l active':'permission-l'"></div></td>
						</tr>
						<tr>
							<td rowspan="7"
								style="border: 1px solid #e1e1e1; border-top: none"
								align="center">个人中心</td>
							<td>
								<div class="permission-l" value="sys:plan:plan"  th:class="${sysplanplan=='active'}?'permission-l active':'permission-l'"></div>
								<label class="auth-lable">计划管理-计划制定</label>
							</td>
							<td><div class="permission-l"   value="sys:plan:add"  th:class="${sysplanadd=='active'}?'permission-l active':'permission-l'"></div></td>
							<td><div class="permission-l"   value="sys:plan:edit" th:class="${sysplanedit=='active'}?'permission-l active':'permission-l'"></div></td>
							<td><div class="permission-l"   value="sys:plan:del"  th:class="${sysplandel=='active'}?'permission-l active':'permission-l'"></div></td>
						
							<td></td>
								<td></td>
								<td></td>
								<td></td>
						<!-- 	<td><div class="permission-l"   value="sys:plan:upd"  th:class="${sysplanupd=='active'}?'permission-l active':'permission-l'"></div></td>
							<td><div class="permission-l"   value="sys:plan:imp"  th:class="${sysplanimp=='active'}?'permission-l active':'permission-l'"></div></td>
							<td><div class="permission-l"   value="sys:plan:exp" th:class="${sysplanexp=='active'}?'permission-l active':'permission-l'" ></div></td>
							<td><div class="permission-l"   value="sys:plan:view"  th:class="${sysplanview=='active'}?'permission-l active':'permission-l'"></div></td>
					 -->	</tr>
						<tr>
							<td>
								<div class="permission-l"  value="sys:myplan:myplan"   th:class="${sysmyplanmyplan=='active'}?'permission-l active':'permission-l'"></div>
								<label class="auth-lable">计划管理-我的计划</label>
							</td>
							
								<td></td>
								<td></td>
								<td></td>
								<td></td>
								<td></td>
								<td></td>
								<td></td>
						<!-- 	<td><div class="permission-l"   value="sys:myplan:add"  th:class="${sysmyplanadd=='active'}?'permission-l active':'permission-l'"></div></td>
							<td><div class="permission-l"   value="sys:myplan:edit"  th:class="${sysmyplanedit=='active'}?'permission-l active':'permission-l'"></div></td>
							<td><div class="permission-l"   value="sys:myplan:del"  th:class="${sysmyplandel=='active'}?'permission-l active':'permission-l'"></div></td>
							<td><div class="permission-l"   value="sys:myplan:upd"  th:class="${sysmyplanupd=='active'}?'permission-l active':'permission-l'"></div></td>
							<td><div class="permission-l"   value="sys:myplan:imp"  th:class="${sysmyplanimp=='active'}?'permission-l active':'permission-l'"></div></td>
							<td><div class="permission-l"   value="sys:myplan:exp"  th:class="${sysmyplanexp=='active'}?'permission-l active':'permission-l'"></div></td>
							<td><div class="permission-l"   value="sys:myplan:view"  th:class="${sysmyplanview=='active'}?'permission-l active':'permission-l'"></div></td>
				 -->		</tr>
						<!--<tr>
							<td>
								<div class="permission-l"  value="sys:planstatistical:planstatistical"  th:class="${sysplanstatisticalplanstatistical=='active'}?'permission-l active':'permission-l'"></div>
								<label class="auth-lable">计划管理-计划统计</label>
							</td>
							
							
								<td></td>
								<td></td>
								<td></td>
								<td></td>
								<td></td>
								<td></td>
								<td></td>
						 	<td><div class="permission-l"   value="sys:planstatistical:add"  th:class="${sysplanstatisticaladd=='active'}?'permission-l active':'permission-l'"></div></td>
							<td><div class="permission-l"   value="sys:planstatistical:edit"  th:class="${sysplanstatisticaledit=='active'}?'permission-l active':'permission-l'"></div></td>
							<td><div class="permission-l"   value="sys:planstatistical:del"  th:class="${sysplanstatisticaldel=='active'}?'permission-l active':'permission-l'"></div></td>
							<td><div class="permission-l"   value="sys:planstatistical:upd"  th:class="${sysplanstatisticalupd=='active'}?'permission-l active':'permission-l'"></div></td>
							<td><div class="permission-l"   value="sys:planstatistical:imp"  th:class="${sysplanstatisticalim=='active'}?'permission-l active':'permission-l'"></div></td>
							<td><div class="permission-l"   value="sys:planstatistical:exp"  th:class="${sysplanstatisticalexp=='active'}?'permission-l active':'permission-l'"></div></td>
							<td><div class="permission-l"   value="sys:planstatistical:view"  th:class="${sysplanstatisticalview=='active'}?'permission-l active':'permission-l'"></div></td>
						</tr> -->
						<tr>
							<td>
								<div class="permission-l" value="sys:user:user"  th:class="${sysuseruser=='active'}?'permission-l active':'permission-l'"></div>
								<label class="auth-lable">用户管理</label>
							</td>
							<td><div class="permission-l"   value="sys:user:add"  th:class="${sysuseradd=='active'}?'permission-l active':'permission-l'"></div></td>
							<td><div class="permission-l"   value="sys:user:edit"  th:class="${sysuseredit=='active'}?'permission-l active':'permission-l'"></div></td>
							<td><div class="permission-l"   value="sys:user:del"  th:class="${sysuserdel=='active'}?'permission-l active':'permission-l'"></div></td>
								<td></td>
							<td></td>
							<td></td>	
							<td></td></tr>
						<tr>
							<td>
								<div class="permission-l" value="sys:permissions:permissions"  th:class="${syspermissionspermissions=='active'}?'permission-l active':'permission-l'"></div>
								<label class="auth-lable">权限管理</label>
							</td>
						 <!--    <td><div class="permission-l"   value="sys:permissions:add"  th:class="${syspermissionsadd=='active'}?'permission-l active':'permission-l'"></div></td>
							<td><div class="permission-l"   value="sys:permissions:edit"  th:class="${syspermissionsedit=='active'}?'permission-l active':'permission-l'"></div></td>
							<td><div class="permission-l"   value="sys:permissions:del"  th:class="${syspermissionsdel=='active'}?'permission-l active':'permission-l'"></div></td>
							<td><div class="permission-l"   value="sys:permissions:upd" th:class="${syspermissionsupd=='active'}?'permission-l active':'permission-l'" ></div></td>
							<td><div class="permission-l"   value="sys:permissions:imp"  th:class="${syspermissionsimp=='active'}?'permission-l active':'permission-l'"></div></td>
							<td><div class="permission-l"   value="sys:permissions:exp" th:class="${syspermissionsexp=='active'}?'permission-l active':'permission-l'" ></div></td>
							<td><div class="permission-l"   value="sys:permissions:view"  th:class="${syspermissionsview=='active'}?'permission-l active':'permission-l'"></div></td>
				 -->
								<td></td>
								<td></td>
								<td></td>
								<td></td>
								<td></td>
								<td></td>
								<td></td>

							</tr>
							
							
										<tr>
							<td>
								<div class="permission-l"  value="sys:bfrh:bfrh"  th:class="${sysbfrhbfrh=='active'}?'permission-l active':'permission-l'"></div>
								<label class="auth-lable">数据备份融合</label>
							</td>
						 <!--    <td><div class="permission-l"   value="sys:personallog:add"  th:class="${syspersonallogadd=='active'}?'permission-l active':'permission-l'"></div></td>
							<td><div class="permission-l"   value="sys:personallog:edit"  th:class="${syspersonallogedit=='active'}?'permission-l active':'permission-l'"></div></td>
							<td><div class="permission-l"   value="sys:personallog:del"  th:class="${syspersonallogdel=='active'}?'permission-l active':'permission-l'"></div></td>
							<td><div class="permission-l"   value="sys:personallog:upd"  th:class="${syspersonallogupd=='active'}?'permission-l active':'permission-l'"></div></td>
							<td><div class="permission-l"   value="sys:personallog:imp"  th:class="${syspersonallogimp=='active'}?'permission-l active':'permission-l'"></div></td>
							<td><div class="permission-l"   value="sys:personallog:exp"  th:class="${syspersonallogexp=='active'}?'permission-l active':'permission-l'"></div></td>
							<td><div class="permission-l"   value="sys:personallog:view"  th:class="${syspersonallogview=='active'}?'permission-l active':'permission-l'"></div></td>
				 -->	
				 	<td></td>
								<td></td>
								<td></td>
								<td></td>
								<td></td>
								<td></td>
								<td></td>
				 	</tr>
							
						<tr>
							<td>
								<div class="permission-l"  value="sys:personallog:personallog"  th:class="${syspersonallogpersonallog=='active'}?'permission-l active':'permission-l'"></div>
								<label class="auth-lable">日志</label>
							</td>
						 <!--    <td><div class="permission-l"   value="sys:personallog:add"  th:class="${syspersonallogadd=='active'}?'permission-l active':'permission-l'"></div></td>
							<td><div class="permission-l"   value="sys:personallog:edit"  th:class="${syspersonallogedit=='active'}?'permission-l active':'permission-l'"></div></td>
							<td><div class="permission-l"   value="sys:personallog:del"  th:class="${syspersonallogdel=='active'}?'permission-l active':'permission-l'"></div></td>
							<td><div class="permission-l"   value="sys:personallog:upd"  th:class="${syspersonallogupd=='active'}?'permission-l active':'permission-l'"></div></td>
							<td><div class="permission-l"   value="sys:personallog:imp"  th:class="${syspersonallogimp=='active'}?'permission-l active':'permission-l'"></div></td>
							<td><div class="permission-l"   value="sys:personallog:exp"  th:class="${syspersonallogexp=='active'}?'permission-l active':'permission-l'"></div></td>
							<td><div class="permission-l"   value="sys:personallog:view"  th:class="${syspersonallogview=='active'}?'permission-l active':'permission-l'"></div></td>
				 -->	
				 	<td></td>
								<td></td>
								<td></td>
								<td></td>
								<td></td>
								<td></td>
								<td></td>
				 	</tr>
						<tr>
							<td>
								<div class="permission-l"  value="sys:selfDiagnosis:selfDiagnosis"  th:class="${sysselfDiagnosisselfDiagnosis=='active'}?'permission-l active':'permission-l'"></div>
								<label class="auth-lable">自诊断</label>
							</td>
							
								<td></td>
								<td></td>
								<td></td>
								<td></td>
								<td></td>
								<td></td>
								<td></td>
						   <!--  <td><div class="permission-l"   value="sys:selfDiagnosis:add"  th:class="${sysselfDiagnosisadd=='active'}?'permission-l active':'permission-l'"></div></td>
							<td><div class="permission-l"   value="sys:selfDiagnosis:edit"  th:class="${sysselfDiagnosisedit=='active'}?'permission-l active':'permission-l'"></div></td>
							<td><div class="permission-l"   value="sys:selfDiagnosis:del"  th:class="${sysselfDiagnosisdel=='active'}?'permission-l active':'permission-l'"></div></td>
							<td><div class="permission-l"   value="sys:selfDiagnosis:upd"  th:class="${sysselfDiagnosisupd=='active'}?'permission-l active':'permission-l'"></div></td>
							<td><div class="permission-l"   value="sys:selfDiagnosis:imp"  th:class="${sysselfDiagnosisimp=='active'}?'permission-l active':'permission-l'"></div></td>
							<td><div class="permission-l"   value="sys:selfDiagnosis:exp"  th:class="${sysselfDiagnosisexp=='active'}?'permission-l active':'permission-l'"></div></td>
							<td><div class="permission-l"   value="sys:selfDiagnosis:view"  th:class="${sysselfDiagnosisview=='active'}?'permission-l active':'permission-l'"></div></td>
					 -->	</tr>
				
				
				
				<tr>
							<td rowspan="4"
								style="border: 1px solid #e1e1e1; border-top: none"
								align="center">备件管理</td>
							<td>
								<div class="permission-l"  value="sys:spareInventory:spareInventory"  th:class="${sysspareInventoryspareInventory=='active'}?'permission-l active':'permission-l'"></div>
								<label class="auth-lable">备件管理-基本信息</label>
							</td>
						    <td><div class="permission-l"   value="sys:spareInventory:add"  th:class="${sysspareInventoryadd=='active'}?'permission-l active':'permission-l'"></div></td>
							<td><div class="permission-l"   value="sys:spareInventory:edit"  th:class="${sysspareInventoryedit=='active'}?'permission-l active':'permission-l'"></div></td>
							<td><div class="permission-l"   value="sys:spareInventory:del"  th:class="${sysspareInventorydel=='active'}?'permission-l active':'permission-l'"></div></td>
							<td></td>
							<td></td>
							<td></td>
							<!-- <td><div class="permission-l"   value="sys:spareInventory:upd"  th:class="${sysspareInventoryupd=='active'}?'permission-l active':'permission-l'"></div></td>
							<td><div class="permission-l"   value="sys:spareInventory:imp"  th:class="${sysspareInventoryimp=='active'}?'permission-l active':'permission-l'"></div></td>
							<td><div class="permission-l"   value="sys:spareInventory:exp"  th:class="${sysspareInventoryexp=='active'}?'permission-l active':'permission-l'"></div></td> -->
							<td><div class="permission-l"   value="sys:spareInventory:view"  th:class="${sysspareInventoryview=='active'}?'permission-l active':'permission-l'"></div></td>
													
							</tr>
						<tr>
							<td>
								<div class="permission-l" value="sys:sparePut:sparePut"  th:class="${syssparePutsparePut=='active'}?'permission-l active':'permission-l'"></div>
								<label class="auth-lable">备件管理-入库</label>
							</td>
							<td></td>
						   <!--  <td><div class="permission-l"   value="sys:sparePut:add"  th:class="${syssparePutadd=='active'}?'permission-l active':'permission-l'"></div></td> -->
							<td><div class="permission-l"   value="sys:sparePut:edit"  th:class="${syssparePutedit=='active'}?'permission-l active':'permission-l'"></div></td>
							<td></td>
							<td></td>
							<td></td>
							<td></td>
							<!-- <td><div class="permission-l"   value="sys:sparePut:del"  th:class="${syssparePutdel=='active'}?'permission-l active':'permission-l'"></div></td>
							<td><div class="permission-l"   value="sys:sparePut:upd"  th:class="${syssparePutupd=='active'}?'permission-l active':'permission-l'"></div></td>
							<td><div class="permission-l"   value="sys:sparePut:imp"  th:class="${syssparePutimp=='active'}?'permission-l active':'permission-l'"></div></td>
							<td><div class="permission-l"   value="sys:sparePut:exp"  th:class="${syssparePutexp=='active'}?'permission-l active':'permission-l'"></div></td> -->
							<td><div class="permission-l"   value="sys:sparePut:view"  th:class="${syssparePutview=='active'}?'permission-l active':'permission-l'"></div></td>
							
						</tr>
						<tr>
							<td>
								<div class="permission-l" value="sys:spareOut:spareOut"   th:class="${sysspareOutspareOut=='active'}?'permission-l active':'permission-l'"></div>
								<label class="auth-lable">备件管理-出库</label>
							</td>
							<td></td>
							<!-- <td><div class="permission-l"   value="sys:spareOut:add"   th:class="${sysspareOutadd=='active'}?'permission-l active':'permission-l'"></div></td> -->
							<td><div class="permission-l"   value="sys:spareOut:edit"  th:class="${sysspareOutedit=='active'}?'permission-l active':'permission-l'"></div></td>
							<td></td>
							<td></td>
							<td></td>
							<td></td>
							<!-- <td><div class="permission-l"   value="sys:spareOut:del"  th:class="${sysspareOutdel=='active'}?'permission-l active':'permission-l'"></div></td>
							<td><div class="permission-l"   value="sys:spareOut:upd"  th:class="${sysspareOutupd=='active'}?'permission-l active':'permission-l'"></div></td>
							<td><div class="permission-l"   value="sys:spareOut:imp"  th:class="${sysspareOutimp=='active'}?'permission-l active':'permission-l'"></div></td>
							<td><div class="permission-l"   value="sys:spareOut:exp"  th:class="${sysspareOutexp=='active'}?'permission-l active':'permission-l'"></div></td> -->
							<td><div class="permission-l"   value="sys:spareOut:view"  th:class="${sysspareOutview=='active'}?'permission-l active':'permission-l'"></div></td>
							
					
						</tr>
						<tr>
							<td>
								<div class="permission-l"  value="sys:spareRep:spareRep"  th:class="${sysspareRepspareRep=='active'}?'permission-l active':'permission-l'" ></div>
								<label class="auth-lable">备件管理-库存</label>
							</td>
							<td></td>
							<td></td>
							<td></td>
							<td></td>
							<td></td>
							<td></td>
							<!-- <td><div class="permission-l"   value="sys:spareRep:add"  th:class="${sysspareRepadd=='active'}?'permission-l active':'permission-l'"></div></td>
							<td><div class="permission-l"   value="sys:spareRep:edit"  th:class="${sysspareRepedit=='active'}?'permission-l active':'permission-l'"></div></td>
							<td><div class="permission-l"   value="sys:spareRep:del"  th:class="${sysspareRepdel=='active'}?'permission-l active':'permission-l'"></div></td>
							<td><div class="permission-l"   value="sys:spareRep:upd"  th:class="${sysspareRepupd=='active'}?'permission-l active':'permission-l'"></div></td>
							<td><div class="permission-l"   value="sys:spareRep:imp"  th:class="${sysspareRepimp=='active'}?'permission-l active':'permission-l'"></div></td>
							<td><div class="permission-l"   value="sys:spareRep:exp"  th:class="${sysspareRepexp=='active'}?'permission-l active':'permission-l'"></div></td> -->
							<td><div class="permission-l"   value="sys:spareRep:view"  th:class="${sysspareRepview=='active'}?'permission-l active':'permission-l'"></div></td>
							
						</tr>






		<tr>
								<td rowspan="6"
									style="border: 1px solid #e1e1e1; border-top: none"
									align="center">系统设置</td>
								<td>
									<div class="permission-l"
										value="sys:xxsz:xxsz"
										th:class="${sysxxszxxsz=='active'}?'permission-l active':'permission-l'"></div>
									<label class="auth-lable">网络设置</label>
								</td>
								<td></td>
								<td></td>
								<td></td>
								<td></td>
								<td></td>
								<td></td>
								<td></td>
							</tr>
							<tr>
								<td>
									<div class="permission-l" value="sys:aqjm:aqjm"
										th:class="${sysaqjmaqjm=='active'}?'permission-l active':'permission-l'"></div>
									<label class="auth-lable">安全加密设置</label>
								</td>
								<td></td>
								<td></td>
								<td></td>
								<td></td>
								<td></td>
								<td></td>
<td></td>
							</tr>
							<tr>
								<td>
									<div class="permission-l" value="sys:wbsb:wbsb"
										th:class="${syswbsbwbsb=='active'}?'permission-l active':'permission-l'"></div>
									<label class="auth-lable">外设接入授权设置</label>
								</td>
								<td></td>
								<td></td>
								<td></td>
								<td></td>
								<td></td>
								<td></td>
								<td></td>

							</tr>
							<tr>
								<td>
									<div class="permission-l" value="sys:hfcc:hfcc"
										th:class="${syshfcchfcc=='active'}?'permission-l active':'permission-l'"></div>
									<label class="auth-lable">恢复设备出厂设置</label>
								</td>
								<td></td>
								<td></td>
								<td></td>
								<td></td>
								<td></td>
								<td></td>
								<td></td>
							</tr>

							<tr>
								<td>
									<div class="permission-l" value="sys:sdzh:sdzh"
										th:class="${syssdzhsdzh=='active'}?'permission-l active':'permission-l'"></div>
									<label class="auth-lable">软件手动自毁</label>
								</td>
								<td></td>
								<td></td>
								<td></td>
								<td></td>
								<td></td>
								<td></td>
								<td></td>
							</tr>

							<tr>
								<td>
									<div class="permission-l" value="sys:sjbf:sjbf"
										th:class="${syssjbfsjbf=='active'}?'permission-l active':'permission-l'"></div>
									<label class="auth-lable">数据库清理与备份</label>
								</td>
								<td></td>
								<td></td>
								<td></td>
								<td></td>
								<td></td>
								<td></td>
								<td></td>
							</tr>


		<tr>
								<td rowspan="5"
									style="border: 1px solid #e1e1e1; border-top: none"
									align="center">故障诊断</td>
								<td>
									<div class="permission-l"
										value="sys:gzzdrz:gzzdrz"
										th:class="${sysgzzdrzgzzdrz=='active'}?'permission-l active':'permission-l'"></div>
									<label class="auth-lable">装备日志</label>
								</td>
								<td></td>
								<td></td>
								<td></td>
								<td></td>
								<td></td>
								<td></td>
							</tr>
							<tr>
								<td>
									<div class="permission-l" value="sys:sglr:sglr"
										th:class="${syssglrsglr=='active'}?'permission-l active':'permission-l'"></div>
									<label class="auth-lable">故障手工录入</label>
								</td>
								<td></td>
								<td></td>
								<td></td>
								<td></td>
								<td></td>
								<td></td>

							</tr>
							<tr>
								<td>
									<div class="permission-l" value="sys:dzll:dzll"
										th:class="${sysdzlldzll=='active'}?'permission-l active':'permission-l'"></div>
									<label class="auth-lable">装备电子履历</label>
								</td>
								<td></td>
								<td></td>
								<td></td>
								<td></td>
								<td></td>
								<td></td>
								<td></td>

							</tr>
							<tr>
								<td>
									<div class="permission-l" value="sys:ztcj:ztcj"
										th:class="${sysztcjztcj=='active'}?'permission-l active':'permission-l'"></div>
									<label class="auth-lable">状态采集与监控</label>
								</td>
								<td></td>
								<td></td>
								<td></td>
								<td></td>
								<td></td>
								<td></td>
								<td></td>
							</tr>

				
		<tr>
								<td>
									<div class="permission-l" value="sys:sbjgl:sbjgl"
										th:class="${syssbjglsbjgl=='active'}?'permission-l active':'permission-l'"></div>
									<label class="auth-lable">备件管理</label>
								</td>
								<td></td>
								<td></td>
								<td></td>
								<td></td>
								<td></td>
								<td></td>
								<td></td>
							</tr>

						</tbody>
				</table>
				 </form>
			</div>
		</div>
	</div>
</body>

<script th:inline="javascript">  




/*<![CDATA[*/  
      var user = [[${sysindexadd}]];
console.log(user);
   	function Save(){
	   var qx=""; 
   	  $("div[class='permission-l active']").each(function() {
   		  qx=qx+$(this).attr("value") + ",";
       });
  	   var data= getDataJson("perForm");
	   data.qx=qx;
	   AjaxWebTableInfo("/Permission/saveOrUpdate",data);

	   
	}        
           
     
	function AjaxWebTableInfo(url , obj){
		 $.ajax({
		     type: "post",
		     dataType: "json",
		     url: url,
		     data:obj,
		     success: function (data, status) {
		    	 $.Zebra_Dialog('<div class="prompt"><div class="success-icon"></div><div class="success-title">保存成功!</div></div>', {
			            'title':'提示',
			            'buttons':['确定']
			         });
		
		     },
		     error: function (data) {
		    	 $.Zebra_Dialog('<div class="prompt"><div class="error-icon"></div><div class="success-title">保存失败!</div></div>', {
			            'title':'提示',
			            'buttons':['确定']
			         });
		     }
		 });	
	}
	/*]]>*/  
	
</script>	    

</html>
